package com.edais.persistence;

import java.util.List;
import java.util.Map;

import com.edais.domain.UserVouchers;
import com.edais.domain.VouchersRule;

public interface UserVouchersMapper {
	
	public List<UserVouchers> queryVochersByUserId(Map<String,Object> paramsMap);
	
	public int queryVochersByUserIdCount(Map<String,Object> paramsMap);
	
	public VouchersRule queryVouchersRuleById(Map<String,Object> paramsMap);
	
	public UserVouchers queryUserVochersById(Map<String,Object> paramsMap);
	
	public List<UserVouchers> queryVouchersByParams(Map<String,Object> paramsMap);
	
	public int queryVouchersByParamsCount(Map<String,Object> paramsMap);
	
	public void addUserVouchers(UserVouchers userVouchers);

	public List<UserVouchers> queryVochersByUserIdWithSort(Map<String, Object> paramsMap);

	public int queryVochersByUserIdWithSortCount(Map<String, Object> paramsMap);
}
